
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
?>
<?php $form = ActiveForm::begin(); ?>
	
	<?= Html::activeHiddenInput($data,'id') ?>

    <?= $form->field($data, 'uname')->label('公司名称') ?>

    <?= $form->field($data, 'age')->label('公司年龄') ?>

	<!-- <?= $form->field($data, 'id')?> -->

    <div class="form-group">
        <?= Html::submitButton('Submit', ['class' => 'btn btn-primary']) ?>
    </div>

<?php ActiveForm::end(); ?>